@font-face
{
font-family: opensans;
src: url(../fonts/OpenSans-Light.ttf);
}
body{
    font-family: opensans;
    color: #3A3A3A !important;
    background-color: #E5E5E5;
}
.background{
    background-color: #5A4181;
    color: #fff;
}
.logo{
    font-family: monospace;
    font-size: 36px;
    font-weight: normal;
    margin: 0px;
}
.header{
    height: 60px;
    line-height: 60px;
}
.header a{
    color: #fff;
    cursor: pointer;
}
.btn-border{
    border: 1px #ffffff solid;
}
.nav-menu-head{
    list-style: none;
    padding-left: 0px;
}
.nav-menu-head li{
    display: inline;
}
.nav-menu-head li.active{
    text-decoration: underline;
}
p.title{
    font-size: 28px;
}
.content{
    margin-top: 20px; 
}
.errorMessage{
    color: red;
}
.box {
    border: 1px solid #d8d8d8;
}

.nav li a{
    color: #3A3A3A;
}
.nav li.active{
    background-color: #5A4181;
    color: #fff;
}
.nav li.active a{
    color: #fff;
}
.nav li:hover a{
    color: #3A3A3A;
}
.nav li.active a:hover{
    background-color: #5A4181;
    color: #FFF;
}
.anpha{
    padding-left: 0px !important;
}
.beta{
    padding-right: 0px !important;
}
button.background:hover{
    color: #FFF;
}
button.background{
    color: #cdbfe3;
}
.space-section{
    margin-top: 15px;
}
.list-group{
    list-style: none;
}
.list-group li{
    padding-bottom: 20px;
}
label.title{
    font-family: opensans;
    font-size: 18px;
    font-weight: normal;
}
.hint{
    color: #A2A2A2;
    font-size: 13px;
}
.list-group a{
    color: #3A3A3A;
}
.list-group a:hover{
    color: #3A3A3A;
}
label.label-sidbar{
    color: #5A4181;
    height: 45px;
    border-bottom: 5px solid #5A4181;
    line-height: 40px;
    padding-left: 20px;
    margin: 0px;
    display: block;
}
.shadow{
    -webkit-box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.2),0 0 10px 2px rgba(90,65,129,0.8);
    -moz-box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.2),0 0 10px 2px rgba(90,65,120,0.8);
    box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.2),0 0 10px 2px rgba(90,65,129,0.8);
}
.box{
    background-color: #fff;
}
.box select, .box button{
    border-radius: 0px;
    height: 40px;
    //border-bottom: 1px solid #fff;
}
.pagination {
    margin: 0px;
    padding-bottom: 20px;
}
.pagination a{
    color: #5A4181;
    padding: 2px 7px 2px 7px;
    border: 1px solid #5A4181;
}
.pagination span{
    margin: 0px 3px 0px 3px;
}

.pagination span.active a{
    background-color: #5A4181;
    color: #fff;
    border: 1px solid #5A4181;
}
.box-post{
    background-color: #DDD;
    border: 1px solid #cdbfe3;
    padding: 5px 10px 5px 10px;
    border-radius: 2px;
}
.links{
    margin-top: 30px;
    padding: 10px 15px;
    color: #5A4181;
    border: 1px solid #5A4181;
}

.links:hover{
    color: #fff;
    border: 1px solid #5A4181;
    background-color: #5A4181;
    text-decoration: none;
}

.space-max{
    margin-top: 30px;
}

.underline{
    padding: 0px;
    list-style: square;
}
.underline li a{
    display: block;
    padding: 5px 0px;
    color: #5A4181;
}
.underline li a:hover {
    color: #4374E0; 
    text-decoration: none;
}

.bg-img{
    position: relative;
}
.bg-img div{
    background-color: rgba(90,65,129,0.8);
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 10px 10px 5px 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.bg-img div label{
    color: #fff;
    background-color: transparent;
    opacity: 1;
}

.list li{
    padding-bottom: 5px;
}

.list li img{
    border-radius: 10px;
}
article{
    padding-bottom: 50px;
}

footer {
    height: 290px;
    width: 100%;
    background-color: #5A4181;
}
footer a{
    color: #fff !important;
}

footer a:hover{
    text-decoration: underline;
}
.foot{
    padding-top: 10px;
}

.type{
    list-style: none;
    padding: 10px;
}
.type li{
    padding: 5px;
}
.type li img {
    margin-bottom: 20px;
    border-radius: 10px;
}
.type li:first-child{
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    margin-left: -10px;
    padding-bottom: 15px;
}

//checkbox 
/*	wrapper divs */
.custom-checkbox, .custom-radio { position: relative; }
	
/* input, label positioning */
.custom-checkbox input, 
.custom-radio input {
	position: absolute;
	left: 2px;
	top: 3px;
	margin: 0;
	z-index: 0;
}

.custom-checkbox label, 
.custom-radio label {
	display: block;
	position: relative;
	z-index: 1;
	font-size: 14px;
	padding-right: 1em;
	line-height: 1;
	padding: .5em 0 .5em 30px;
	margin: 0 0 .3em;
	cursor: pointer;
        font-weight: normal !important;
}

	
/* states */
.custom-checkbox label { background: url(../img/checkbox.gif) no-repeat; }

.custom-radio label { background: url(../img/radiobutton.gif) no-repeat; }

.custom-checkbox label, .custom-radio label {
	background-position: -10px -14px;
}

.custom-checkbox label.hover,
.custom-checkbox label.focus,
.custom-radio label.hover,
.custom-radio label.focus {
	background-position: -10px -114px;
}

.custom-checkbox label.checked, 
.custom-radio label.checked {
	background-position: -10px -214px;
}

.custom-checkbox label.checkedHover, 
.custom-checkbox label.checkedFocus {
	background-position: -10px -314px;
}

.custom-checkbox label.focus, 
.custom-radio label.focus {
	outline: 1px dotted #ccc;
}

// list happy footer
.flickr-feed, #instagram-feed {
    list-style: none;
    margin: -3px -3px;
    padding: 0;
    overflow: hidden;
}
.flickr-feed li, #instagram-feed li {
    //width: 33.3333%;
    float: left;
    padding: 3px;
    position: relative;
}
.flickr-feed a:hover, #instagram-feed a:hover {
    text-decoration: none;
}
.flickr-feed li a, #instagram-feed li a {
    display: block;
}
.flickr-feed a:hover {
    color: #274472;
    text-decoration: none;
}
.flickr-feed a:hover, a:focus {
    color: #2a6496;
    text-decoration: underline;
}
.flickr-feed a:active, a:hover {
    outline: 0;
}
.flickr-feed a {
    color: #4174c5;
    transition: color 0.3s;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
}
.flickr-feed a {
    background: transparent;
}
.flickr-feed li:hover>a:before, .flickr-feed li:hover>a:after, #instagram-feed li:hover>a:after, #instagram-feed li:hover>a:before {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    visibility: visible;
}
.flickr-feed li>a:before, #instagram-feed lI>a:before {
    content: '';
    position: absolute;
    display: block;
    background: #000;
    background: rgba(0,0,0,0.4);
    left: 3px;
    right: 3px;
    top: 3px;
    bottom: 3px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: opacity 0.3s, transform 0.4s;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.4s;
    -moz-transition: opacity 0.3s, -moz-transform 0.4s;
    z-index: 10;
}
*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.flickr-feed li:hover>a:before, .flickr-feed li:hover>a:after, #instagram-feed li:hover>a:after, #instagram-feed li:hover>a:before {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    visibility: visible;
}

.flickr-feed li>a:after, #instagram-feed li>a:after {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    content: '+';
    position: absolute;
    left: 50%;
    color: #fff;
    font-size: 18px;
    top: 50%;
    margin-top: -10px;
    margin-left: -10px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: opacity 0.3s, transform 0.4s;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.4s;
    -moz-transition: opacity 0.3s, -moz-transform 0.4s;
    z-index: 10;
}
.flickr-feed, #instagram-feed {
    list-style: none;
    margin: -3px -3px;
    padding: 0;
    overflow: hidden;
}
.sidebar-box {
    zoom: 1;
}
.flickr-feed img{
    border-radius: 5px;
}

// slider
.fp-slider{margin:0 auto 15px auto;padding:0px;width:100%;height:265px;overflow:hidden;position:relative;}
.fp-slides-container{}
.fp-thumbnail .img-responsive{width: 100%; height: 265px;}
.fp-slides,.fp-thumbnail,.fp-prev-next,.fp-nav{width:100%;}
.fp-slides,.fp-thumbnail{height:265px;overflow:hidden;position:relative}
.fp-title{color:#fff;text-shadow:0px 1px 0px #000;font:normal 18px Oswald,Helvetica,Sans-serif;padding:0 0 2px 0;margin:0}
.fp-title a,.fp-title a:hover{color:#fff;text-decoration:none}
.fp-content{position:absolute;bottom:0;left:0;right:0;background:#111;opacity:0.7;filter:alpha(opacity = 70);padding:10px 10px;overflow:hidden}
.fp-content p{font-size:12px;color:#fff;padding:0;margin:0;line-height:18px}
.fp-more,.fp-more:hover{color:#fff;font-weight:bold}
.fp-nav{display:none;height:12px;text-align:center;padding:10px 0;background:#0099cc;}
.fp-pager a{background-image:url(../img/featured-pager.png);cursor:pointer;margin:0 8px 0 0;padding:0;display:inline-block;width:12px;height:12px;overflow:hidden;text-indent:-999px;background-position:0 0;float:none;line-height:1;opacity:0.7;filter:alpha(opacity = 70)}
.fp-pager a:hover,.fp-pager a.activeSlide{text-decoration:none;background-position:0 -112px;opacity:1.0;filter:alpha(opacity = 100)}
.fp-prev-next-wrap{position:relative;z-index:200}
.fp-prev-next{position:absolute;bottom:130px;left:0;right:0;height:37px}
.fp-prev{margin-top:-150px;float:left;margin-left:14px;width:52px;height:38px;background:url(../img/slider_big_arrow_left.png) left top no-repeat;opacity:0.6;filter:alpha(opacity = 60)}
.fp-prev:hover{opacity:0.8;filter:alpha(opacity = 80)}
.fp-next{margin-top:-150px;float:right;width:52px;height:38px;margin-right:14px;background:url(../img/slider_big_arrow_right.png) right top no-repeat;opacity:0.6;filter:alpha(opacity = 60)}
.fp-next:hover{opacity:0.8;filter:alpha(opacity = 80)}

.img-border{
    border: 1px solid #cdbfe3;
}
.list-slider{
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.list-slider .fp-title{
    font-size: 12px !important;
}
.list-slider li{
    display: block;
    margin-bottom: 15px;
    position: relative;
}
.list-slider li:last-child{
    margin-bottom: 0px;
}
.label-box{
    background:#5A4181;
    color: #fff;
    padding: 10px;
    margin-bottom: 5px;
}
.title-news{
    width: 95%;
    margin-bottom: 10px;
    font-size: 16px;
    color: #3A3A3A;
}
.des-news{
    color: #3A3A3A;
}
.list-group img{
    border-radius: 2px;
}
.box-sidbar{
    border: none;
}
.box-sidbar ul{
    padding: 0px 0px 5px 5px;
}

//happy
.padding-minus, .padding-minus-bottom {
    padding-bottom: 60px !important;
}
* {
    outline: none !important;
}
.happy p {
    color: #333333;
}
.history .aff {
    position: absolute;
    top: 90px;
    left: 50px;
    font-size: 10px;
    font-style: normal;
    color: #999;
    white-space: nowrap;
}
.history .aff {
    top: 49px;
    left: 170px;
}
.datetime:before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: -11px;
    width: 0;
    height: 0;
    border-right: transparent 11px solid;
    border-top: transparent 11px solid;
    border-bottom: transparent 11px solid;
}
.datetime:before {
    border-right-color: #5A4181 !important;
}
.datetime {
    position: absolute;
    display: block;
    top: 42px;
    left: 0;
    height: 22px;
    font-size: 10px;
    line-height: 20px;
    text-transform: uppercase;
    color: #fff;
    padding: 0 7px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    margin: -5px 0 0 0;
    white-space: nowrap;
}
.datetime {
    background-color: #5A4181;
}
.history .datetime {
    position: absolute;
    top: 51px;
    left: 0px;
}
.history .icon {
    display: block;
    position: absolute;
    top: 40px;
    left: -65px;
    width: 35px;
    height: 35px;
    border: transparent 2px solid;
    background: #fff;
}
.history .icon {
    -webkit-box-shadow: #fff 0 0 0 5px;
    -moz-box-shadow: #fff 0 0 0 5px;
    box-shadow: #fff 0 0 0 5px;
}
.history .title {
    font-size: 15px;
    font-weight: 700;
}
.history .heading {
    position: absolute;
    top: 0;
    left: 0;
}
.happy li {
    display: list-item;
    text-align: -webkit-match-parent;
}
.history, .history li {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.history li {
    position: relative;
    padding-top: 130px;
    padding-bottom: 30px;
}
.history li {
    padding-top: 80px;
}
.history {
    position: relative;
    padding-left: 47px;
    margin-left: 16px;
    border-left: transparent 2px solid;
}
.history {
border-color: #5A4181;
}
.uppercase
{
    text-transform: uppercase;
}